
public class Car {

	private String brand;
	private String lincenplate;
	private String color;
	
	public Car(String brand, String lincenplate, String color){
		this.brand = brand;
		this.lincenplate = lincenplate;
		this.color = color;
	}
	public String toString(){
		String str;
		str = brand + "\t" + lincenplate + "\t"+ color +"\t";
		return str;
	}
	public boolean equals(Car other){
		return this.brand == other.brand;
		
	}
	}

